package com.qidianit.mes.pojo;

import java.util.Date;

/**
 * @company 起点编程
 * @author 戴着假发的程序员
 * @date 2025/7/22 
 * @description 物料实体类
 */
public class Material {
    private String materialId; // 物料编号，主键，手动输入
    private String materialName; // 物料名称
    private String specification; // 规格型号
    private Long unitId; // 物料单位，引用单位表
    private Long categoryId; // 分类编号
    private Byte enabledFlag; // 是否启用
    private Integer safetyStock; // 安全库存
    private Integer minStock; // 最小库存量
    private Integer maxStock; // 最大库存量
    private Byte highValueFlag; // 是否是高价值易被盗
    private String remark; // 备注
    private Byte deletedFlag; // 是否删除标记
    private String imageUrl;// 图片地址/二维码图片地址

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getMaterialId() {
        return materialId;
    }

    public void setMaterialId(String materialId) {
        this.materialId = materialId;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public Long getUnitId() {
        return unitId;
    }

    public void setUnitId(Long unitId) {
        this.unitId = unitId;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public Byte getEnabledFlag() {
        return enabledFlag;
    }

    public void setEnabledFlag(Byte enabledFlag) {
        this.enabledFlag = enabledFlag;
    }

    public Integer getSafetyStock() {
        return safetyStock;
    }

    public void setSafetyStock(Integer safetyStock) {
        this.safetyStock = safetyStock;
    }

    public Integer getMinStock() {
        return minStock;
    }

    public void setMinStock(Integer minStock) {
        this.minStock = minStock;
    }

    public Integer getMaxStock() {
        return maxStock;
    }

    public void setMaxStock(Integer maxStock) {
        this.maxStock = maxStock;
    }

    public Byte getHighValueFlag() {
        return highValueFlag;
    }

    public void setHighValueFlag(Byte highValueFlag) {
        this.highValueFlag = highValueFlag;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Byte getDeletedFlag() {
        return deletedFlag;
    }

    public void setDeletedFlag(Byte deletedFlag) {
        this.deletedFlag = deletedFlag;
    }

    @Override
    public String toString() {
        return "Material{" +
                "materialId='" + materialId + '\'' +
                ", materialName='" + materialName + '\'' +
                ", specification='" + specification + '\'' +
                ", unitId=" + unitId +
                ", categoryId=" + categoryId +
                ", enabledFlag=" + enabledFlag +
                ", safetyStock=" + safetyStock +
                ", minStock=" + minStock +
                ", maxStock=" + maxStock +
                ", highValueFlag=" + highValueFlag +
                ", remark='" + remark + '\'' +
                ", deletedFlag=" + deletedFlag +
                '}';
    }
}